groov I/O Input Node Developer - Published: OverviewIn the previous example, we saw how to read values from a groov I/O analog or digital channel.The Read and Input nodes are similar, since they both read values from groov I/O.A Read node only...moreOverviewIn the previous example, we saw how to read values from a groov I/O analog or digital channel.The Read and Input nodes are similar, since they both read values from groov I/O.A Read node only reads when it receives an incoming message. In a very simple flow, the incoming message is often generated from an Inject node that is configured to inject messages at regular intervals.An Input node scans the I/O and only generates a new message when the value has changed. In many cases, this can b...... <less Getting Started with Node-RED for PAC Control Developer - Published: IntroductionThis Getting Started guide covers setting up your controller, configuring your groov EPIC processor (GRV-EPIC-PR1), groov Edge Appliace (GROOV-AR1), or computer for Node-RED and the PAC...moreIntroductionThis Getting Started guide covers setting up your controller, configuring your groov EPIC processor (GRV-EPIC-PR1), groov Edge Appliace (GROOV-AR1), or computer for Node-RED and the PAC Control nodes, and provides a few examples of how to useNode-RED with a controller.PrerequisitesTo use Node-RED for PAC Control, the following programs and packages should be installed on your computer:PAC Project 9.5 or laterDownload and install either PAC Project Pro or BasicFirmwareSNAP PAC R-serie...... <less PAC Control Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a PAC Control Read node, configure the controller’s address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a PAC Control Read node, configure the controller’s address, and run the flow.Step 1 - Add a PAC Control Read NodeDrag out an Inject node, a PAC Control Read node, and a Debug node.Wire them together, as shown below. Click the image to start and stop the animation.Step 2 - Configure the PAC Control NodeDouble-click the PAC Control Read node to open the Edit pac...... <less Installing the groov I/O Nodes Developer - Published: OverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1...moreOverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein the ...... <less Installing the groov View Nodes Developer - Published: OverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1...moreOverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein th...... <less Read and Write from a Terminal Developer - Published: The examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means...moreThe examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means the I/O point is On; 1 means it’s Off._Syntax_~~~ linuxgpio readall~~~In this image, highlighted GPIO pins are mapped to I/O points. ![gpio readall](/images/pi/gpio-readall.png){% include callout.html content="Don't let the column names in this chart confuse you. In a Readall chart from LXTermin...... <less groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Getting Started with Node-RED for PAC Control Developer - Published: IntroductionThis Getting Started guide covers setting up your controller, configuring your groov EPIC processor (GRV-EPIC-PR1), groov Edge Appliace (GROOV-AR1), or computer for Node-RED and the PAC...moreIntroductionThis Getting Started guide covers setting up your controller, configuring your groov EPIC processor (GRV-EPIC-PR1), groov Edge Appliace (GROOV-AR1), or computer for Node-RED and the PAC Control nodes, and provides a few examples of how to useNode-RED with a controller.PrerequisitesTo use Node-RED for PAC Control, the following programs and packages should be installed on your computer:PAC Project 9.5 or laterDownload and install either PAC Project Pro or BasicFirmwareSNAP PAC R-serie...... <less PAC Control Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a PAC Control Read node, configure the controller’s address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a PAC Control Read node, configure the controller’s address, and run the flow.Step 1 - Add a PAC Control Read NodeDrag out an Inject node, a PAC Control Read node, and a Debug node.Wire them together, as shown below. Click the image to start and stop the animation.Step 2 - Configure the PAC Control NodeDouble-click the PAC Control Read node to open the Edit pac...... <less Installing the groov I/O Nodes Developer - Published: OverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1...moreOverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein the ...... <less Installing the groov View Nodes Developer - Published: OverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1...moreOverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein th...... <less Read and Write from a Terminal Developer - Published: The examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means...moreThe examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means the I/O point is On; 1 means it’s Off._Syntax_~~~ linuxgpio readall~~~In this image, highlighted GPIO pins are mapped to I/O points. ![gpio readall](/images/pi/gpio-readall.png){% include callout.html content="Don't let the column names in this chart confuse you. In a Readall chart from LXTermin...... <less groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
PAC Control Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a PAC Control Read node, configure the controller’s address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a PAC Control Read node, configure the controller’s address, and run the flow.Step 1 - Add a PAC Control Read NodeDrag out an Inject node, a PAC Control Read node, and a Debug node.Wire them together, as shown below. Click the image to start and stop the animation.Step 2 - Configure the PAC Control NodeDouble-click the PAC Control Read node to open the Edit pac...... <less Installing the groov I/O Nodes Developer - Published: OverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1...moreOverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein the ...... <less Installing the groov View Nodes Developer - Published: OverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1...moreOverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein th...... <less Read and Write from a Terminal Developer - Published: The examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means...moreThe examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means the I/O point is On; 1 means it’s Off._Syntax_~~~ linuxgpio readall~~~In this image, highlighted GPIO pins are mapped to I/O points. ![gpio readall](/images/pi/gpio-readall.png){% include callout.html content="Don't let the column names in this chart confuse you. In a Readall chart from LXTermin...... <less groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Installing the groov I/O Nodes Developer - Published: OverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1...moreOverviewThe Node-RED for groov I/O nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov I/O NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein the ...... <less Installing the groov View Nodes Developer - Published: OverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1...moreOverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein th...... <less Read and Write from a Terminal Developer - Published: The examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means...moreThe examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means the I/O point is On; 1 means it’s Off._Syntax_~~~ linuxgpio readall~~~In this image, highlighted GPIO pins are mapped to I/O points. ![gpio readall](/images/pi/gpio-readall.png){% include callout.html content="Don't let the column names in this chart confuse you. In a Readall chart from LXTermin...... <less groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Installing the groov View Nodes Developer - Published: OverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1...moreOverviewThe Node-RED for groov View nodes must be installed before they can be used. There are several possiblemethods, depending upon how you are running Node-RED.Install groov View NodesOption 1 - Install from within Node-RED (including GRV-EPIC-PR1 and GROOV-AR1)Make sure that your Node-RED runtime can access the Internet.If you’re using Node-RED on a groov EPIC processor or groov Edge Appliance, then the devicemust be able to access the Internet when installing nodes.Details on this arein th...... <less Read and Write from a Terminal Developer - Published: The examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means...moreThe examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means the I/O point is On; 1 means it’s Off._Syntax_~~~ linuxgpio readall~~~In this image, highlighted GPIO pins are mapped to I/O points. ![gpio readall](/images/pi/gpio-readall.png){% include callout.html content="Don't let the column names in this chart confuse you. In a Readall chart from LXTermin...... <less groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Read and Write from a Terminal Developer - Published: The examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means...moreThe examples in this section show LXTerminal on a Pi running Raspbian. For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).## Read all GPIO pinsA value of 0 means the I/O point is On; 1 means it’s Off._Syntax_~~~ linuxgpio readall~~~In this image, highlighted GPIO pins are mapped to I/O points. ![gpio readall](/images/pi/gpio-readall.png){% include callout.html content="Don't let the column names in this chart confuse you. In a Readall chart from LXTermin...... <less groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
groov I/O Nodes - Introduction Developer - Published: OverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and...moreOverviewIf you’re new to Node-RED but have not yet worked through the Hello, world! example, please do so now.In this section, we’ll add a groov I/O Read node, configure the groov device and address, and run the flow.Step 1 - Add a groov I/O Read NodeDrag out an Inject node, a groov I/O Read node, and a Debug node.Wire them together, as shown below.Step 2 - Configure the groov I/O deviceDouble-click the groov I/O Read node to open the “Edit groov i/o read node” view. Since this is the first groo...... <less Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Raspberry Pi with a Side of I/O Developer - Published: Safely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and...moreSafely and reliably sense and switch 5-60 VDC, 120 VAC, and 240 VAC loads with a Raspberry Pi® Raspberry Pi is a trademark of the Raspberry Pi Foundation.Raspberry Pi, I/O modules, mounting rack, and power supply all sold separately.With Opto 22’s Digital I/O Carrier Board for Raspberry Pi, you can use industrially hardened digital input/output (I/O) modules with your Raspberry Pi.Use your Pi to switch industrial-level electrical loads far beyond the Pi’s built in 3.3 VDC GPIO pins.Monitor and c...... <less Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Code Samples for Raspberry Pi Developer - Published: Tips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can...moreTips for using a Pi to read and write to I/OOpto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O modules, 0 is On and 1 is Off.You can both read and write to output modules.For input modules, you perform reads.If you accidentally write to an input module, no problem—nothing will happen.Before using a terminal emulator to read and write to an I/O module, you must configure its associated GPIO pin as an input or output. The Opto 22 ...... <less Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Examples for the Raspberry Pi Developer - Published: For a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi...moreFor a mapping diagram and overlay for your Pi, see [Pin-to-Module Mapping](..\pin-to-module).Each of these code samples uses a different method to read and write to I/O points.You can use any Pi operating system and programming language to read and write to I/O points.**Just remember:** * Opto 22 I/O modules use negative true logic (a zero bit means On and a 1 bit means Off).When you read and write to I/O points, 0 is On and 1 is Off.* Before reading or writing to an I/O point, you must configur...... <less Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Opto 22's Configure-Read-Write Script Developer - Published: To simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script...moreTo simplify accessing I/O when you write your own code, Opto 22 engineers wrote a Python script that your code can reference.If you’re using a browser, click here for the script.To download the script to the current directory using a terminal, enter wget http://developer.opto22.com/downloads/Opto22.PI.py Tip: To print the working directory, enter pwdTo view the script, enter more Opto22.PI.py The script references an I/O module’s rack position to read and write to its point, and to configure its...... <less Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Installing and Configuring MariaDB Database on groov EPIC Developer - Published: “MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and...more“MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source.” - mariadb.orgNOTE: Setting up and administering the database on your groov EPIC is only for advanced developers who arefamiliar with both Linux shell commands and database administration. Once you enable Secure Shell access, you areon your own and will have to solve any issues that arise through your own knowledge and online research. Opto 2...... <less Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Read an Integer Array with the OptoMMP Function Blocks Developer - Published: ## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected...more## OverviewIn this third example, we'll read an array of integer values from the Scratch Pad area of the OptoMMP memory map.The goals of this example are: * The client will connect and stay connected if there are any errors. * Five elements of the Integer 32 Scratch Pad will be read into an integer array. * The read requests will trigger five seconds after the previous one is finished.This example assumes you have basic familiarity with creating and running an application in the CODESYS Developm...... <less Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Enable OLE Procedures in SQL Server Developer - Published: Download Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample...moreDownload Code SampleOverviewSome of the code samples on our website use SQL Server’s OLE Automation stored procedures.Because those procs are disabled by default, we’ve provided a Microsoft code sample to enable them.For more information, see Microsoft’s Developer Network, https://msdn.microsoft.com/en-us/library/ms191188.aspx.PrerequisitesTo run this code sample, you must have system administrator privileges in SQL Server.StepsOpen SQL Server Management Studio.Run the EnableOleAutomationProcs.s...... <less SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
SNAP PAC Configuration for Node-RED for PAC Control Developer - Published: Step 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two...moreStep 1 - Enable REST APIBy default, a SNAP PAC has SSL enabled and the web server for theREST API is disabled. To use the REST API, you need to configure the port on which it will listen.The are two options for connecting to the REST API:ProtocolStandard PortDescriptionHTTPS443Uses standard SSL encryption to secure the communication between the client software and the PAC. This is the default and recommended setting.HTTP80Insecure access to the REST API.Using PAC Manager’s Inspect tool:Click Com...... <less News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
News Developer - Published: CODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming...moreCODESYS section added to the Developer siteOct 19, 2022 The Opto 22 Developer site has a new section for CODESYS topics.The CODESYS Development System and Runtime Engine is one of the main programming options on the groov EPIC system. It provides an IEC 61131-3 compliant Programmable Logic Controller (PLC).The new section coincides with the 3.0.0.0 release of Opto 22 Library Package for CODESYS Development System.Read more about it in the OptoBlog article CODESYS Library Package gets new OptoMMP...... <less Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Getting Started with groov EPIC Secure Shell (SSH) Developer - Published: Go back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at...moreGo back to Developer Overview HomeSSH AccessThe first thing you need to do in order to have SSH access is install a free Shell license, which you can request from our preferred customer specialists at pcs@opto22.com directly, then visit manage.groov.com to apply it to the EPIC of your choice.To install this license onto your EPIC, go to your groov manage menu, select System and then License, where you can upload the license into your device. For more details and screenshots of this process, chec...... <less Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Sending and decoding OptoMMP data using Python Developer - Published: Go back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and...moreGo back to [Building your first OptoMMP data package with Python](/pythonmmp/buildpackage/)## Socket UsageMake sure you `import socket` at the top of the script to include the socket library, and determine the host (whether hardcoded, localhost, or taken as an argument). Then:1. Create a socket:`s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)`2. Use that socket to connect to the controller with a tuple made by the host at port 2001:`s.connect( (host,port) )# ex. host = '127.0.0.1' (string)...... <less "Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
"Hello, world!" for the OptoMMP Function Blocks Developer - Published: OverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an...moreOverviewIn this first example, we’ll write the string “Hello, world!” to the Scratch Pad area of the OptoMMP memory map.This example assumes you have basic familiarity with creating and running an application in the CODESYS Development System.Step 1 - Determine the OptoMMP Address to UseThe “Hello, world!” string will be written to the Scratch Pad String Area. The Scratch Pad is a feature of the I/O services. It’s a convenient and central place for different programs to read and write data.The c...... <less Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Getting Started with groov Manage REST API Developer - Published: This Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the...moreThis Getting Started guide covers:Prerequisites, tools, and authenticationReading information about modulesReading and writing digital channelsReading and writing analog channelsPrerequisitesTo use the groov Manage REST API, the following hardware and software is required:groov EPIC processor (GRV-EPIC-PR1) with System Version 1.1.0 or laterWeb BrowserHTTPS client, like cURL or an HTTPS programming librarycURLThroughout this guide, we’ll be using cURL to send API requests. cURL is a lightweight ...... <less Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Getting Started with the groov View REST API Developer - Published: For API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data...moreFor API syntax and tips, see the API Reference, which is generated from the Swagger specification.This Getting Started guide covers:The hardware and software you need to access the groov View Data Store REST APIAdding a Data Store to groov ViewSetting up API usersBuilding your first API requestUsing the View API with groov EPICPrerequisitesgroov Box, groov EPIC, or groov Server for Windows with groov R3.3a or higherIf you need to update your groov, visit https://www.opto22.com/my-optoIf you don’...... <less Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Create and Install the Client Certificate Developer - Published: Go back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the...moreGo back to the procedure overviewII. Create the Client Certificate (CC)Generate the Client Certificate (CC) file using your new Certificate Authority (CA) key.Use the following command to create the Client Certificate file [myClientCertificate]-CC.pem using your new Certificate Authority key. Here, replace [myClientCertificate] with whatever name you want for the Client Certificate. We suggest keeping the -CC suffix to identify this file as the Client Certificate. An example might be Opto22-CC.p...... <less Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Create the Certificate Authority (CA) Developer - Published: Go back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to...moreGo back to the procedure overviewI. Create the Certificate Authority (CA)If you are using a Linux or Mac system, skip the “Install Bash for Windows 10” instructions below and proceed directly to Command Line Instructions.If you are using a Windows 10 computer, we strongly recommend following the steps below to get access to a Bash command line on your computer so you can use the OpenSSL instructions in the Command Line Instruction section below.Install Bash for Windows 10Open your control panel ...... <less Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Developing with groov EPIC Developer - Published: Programming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control...moreProgramming Optionsgroov EPIC has a lot of options for programming; this site covers the following:Secure Shell (SSH) for custom programming applications.REST APIs that provide HTTPS access to control and data.OptoMMP, the underlying memory-map protocol in EPIC.IEC 61131-3 for control programming.Ignition Edge with external PLC drivers.MQTT Sparkplug for communicating device I/O and variable data over secure sockets.Node-RED provides connectivity between Internet of Things (IoT) devices, cloud s...... <less Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items
Getting a Trusted Connection Between a Web Browser and groov EPIC Developer - Published: Secure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely...moreSecure Sockets Layer (SSL) and Web BrowsersWhen you first use an SSL connection (https) to access groov Manage on a groov EPIC processor from a browser like Chrome, Firefox, or Safari, you’ll likely receive a browser warning like “Your connection is not private” or “Your connection is not secure”.This issue isn’t specific to groov EPIC processors. Any server (and groov EPICs are servers) you attempt to connect to using SSL/TLS security will need a trusted Server Certificate installed on it authe...... <less « PreviousPage 2 of 3Next » Show 25 Items Show All Items Show 10 Items Show 25 Items Show 50 Items Show 100 Items